#include "crtmpexception.h"

using namespace std;

CRtmpException::CRtmpException()
{
    m_Error = RtmpError::ERR_UNKNOWN;
}

CRtmpException::~CRtmpException()
{

}

CRtmpException::CRtmpException(RtmpError::Errors error)
{
    m_Error = error;
}

RtmpError::Errors CRtmpException::GetException() const
{
    return m_Error;
}
